<?php
$module_name = $module_name;
$module_name_small = $module_name_small;

ob_start();
foreach ($module_fields as $each_field) {
	echo "\r" . '$_[\'column_' . $each_field['name'] . '\']	= \'' . $each_field['label'] . '\';';
}
$column_fields = ob_get_clean();

$maches_arr = array (
	'/@module_name@/',
	'/@module_name_small@/',
	'/@column_fields@/',
	
);

$replace_arr = array (
	$module_name,
	$module_name_small,
	$column_fields,	
);

//	preg_match_all('/@([^@]+)@/', $catalog_language_file_contents, $maches);
//	sort($maches['1']);
//	print_r(array_unique($maches['1']));

	$catalog_language_file_contents = preg_replace($maches_arr, $replace_arr, $catalog_language_file_contents);
?>